package com.gtd.account


import javax.jdo.annotations.*;
import com.google.appengine.api.datastore.Key;

@PersistenceCapable(identityType = IdentityType.APPLICATION, detachable="true")
class LocalAddress implements Serializable {

	@PrimaryKey
  @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
	Key key

	@Persistent
	String address

	@Persistent
	ContactInfo contactInfo

    static constraints = {
		key nullable:true
		address blank:false
		contactInfo nullable:false
	}
}
